package com.ourteam.workspace.dao;

import java.util.Arrays;
import java.util.List;
import java.util.Map;
import net.dao.BaseQueryBean;
import net.dao.BaseWhereCriterion;
import net.dao.IDataAccessInterface;
import org.apache.commons.lang.StringUtils;

/**
 * Template Name : DAO查询对象 Template Version : 1 Template Last Modfiy Date : Sat Aug 19 10:06:32 CST
 * 2017 Auto Generate Date : 2018-11-30 18:42:30 Warning ! This file will be overwrite when
 * regenerate !
 */
public class WorkspaceBuildLogDAOQueryBean extends BaseQueryBean {

  public WorkspaceBuildLogDAOQueryBean() {
    super();
  }

  public WorkspaceBuildLogDAOQueryBean(BaseQueryBean aQueryBean) {
    super(aQueryBean);
  }

  public WorkspaceBuildLogDAOQueryBean(BaseQueryBean aQueryBean, Map tableReplaceMap) {
    super(aQueryBean, tableReplaceMap);
  }

  public Criteria createCriteria() {

    Criteria criteria = createCriteriaInternal();
    if (oredCriteria.size() == 0) {
      oredCriteria.add(criteria);
    }
    return criteria;
  }

  protected Criteria createCriteriaInternal() {
    return new Criteria(this);
  }

  public void addIdSelectProperty() {
    addIdSelectProperty("id");
  }

  public void addIdSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceBuildLogDAO.Id, aAlias);
    } else {
      addSelectProperty(IWorkspaceBuildLogDAO.Id, "id");
    }
  }

  public void addWorkspaceBuildConfigIdSelectProperty() {
    addWorkspaceBuildConfigIdSelectProperty("workspaceBuildConfigId");
  }

  public void addWorkspaceBuildConfigIdSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceBuildLogDAO.WorkspaceBuildConfigId, aAlias);
    } else {
      addSelectProperty(IWorkspaceBuildLogDAO.WorkspaceBuildConfigId, "workspaceBuildConfigId");
    }
  }

  public void addBuildTimeSelectProperty() {
    addBuildTimeSelectProperty("buildTime");
  }

  public void addBuildTimeSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceBuildLogDAO.BuildTime, aAlias);
    } else {
      addSelectProperty(IWorkspaceBuildLogDAO.BuildTime, "buildTime");
    }
  }

  public void addBuildLogSelectProperty() {
    addBuildLogSelectProperty("buildLog");
  }

  public void addBuildLogSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceBuildLogDAO.BuildLog, aAlias);
    } else {
      addSelectProperty(IWorkspaceBuildLogDAO.BuildLog, "buildLog");
    }
  }

  public void addBuildResultSelectProperty() {
    addBuildResultSelectProperty("buildResult");
  }

  public void addBuildResultSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceBuildLogDAO.BuildResult, aAlias);
    } else {
      addSelectProperty(IWorkspaceBuildLogDAO.BuildResult, "buildResult");
    }
  }

  public void addBuildOutputPathSelectProperty() {
    addBuildOutputPathSelectProperty("buildOutputPath");
  }

  public void addBuildOutputPathSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceBuildLogDAO.BuildOutputPath, aAlias);
    } else {
      addSelectProperty(IWorkspaceBuildLogDAO.BuildOutputPath, "buildOutputPath");
    }
  }

  public void addStatusSelectProperty() {
    addStatusSelectProperty("status");
  }

  public void addStatusSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceBuildLogDAO.Status, aAlias);
    } else {
      addSelectProperty(IWorkspaceBuildLogDAO.Status, "status");
    }
  }

  public void addRemarksSelectProperty() {
    addRemarksSelectProperty("remarks");
  }

  public void addRemarksSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceBuildLogDAO.Remarks, aAlias);
    } else {
      addSelectProperty(IWorkspaceBuildLogDAO.Remarks, "remarks");
    }
  }

  public void addProductionNameSelectProperty() {
    addProductionNameSelectProperty("productionName");
  }

  public void addProductionNameSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceBuildLogDAO.ProductionName, aAlias);
    } else {
      addSelectProperty(IWorkspaceBuildLogDAO.ProductionName, "productionName");
    }
  }

  public void addProductionTypeSelectProperty() {
    addProductionTypeSelectProperty("productionType");
  }

  public void addProductionTypeSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IWorkspaceBuildLogDAO.ProductionType, aAlias);
    } else {
      addSelectProperty(IWorkspaceBuildLogDAO.ProductionType, "productionType");
    }
  }

  public void addAllSelectProperties() {

    addIdSelectProperty();

    addWorkspaceBuildConfigIdSelectProperty();

    addBuildTimeSelectProperty();

    addBuildLogSelectProperty();

    addBuildResultSelectProperty();

    addBuildOutputPathSelectProperty();

    addStatusSelectProperty();

    addRemarksSelectProperty();

    addProductionNameSelectProperty();

    addProductionTypeSelectProperty();
  }

  public static class Criteria extends BaseWhereCriterion<WorkspaceBuildLogDAOQueryBean> {

    protected Criteria(WorkspaceBuildLogDAOQueryBean aParentObject) {
      super(aParentObject);
    }

    public Criteria andIdIsNull() {
      addCriterion(IWorkspaceBuildLogDAO.Id + " is null");
      return this;
    }

    public Criteria andIdIsNotNull() {
      addCriterion(IWorkspaceBuildLogDAO.Id + " is not null");
      return this;
    }

    public Criteria andIdIsNotEmpty() {
      addCriterion(
          IWorkspaceBuildLogDAO.Id + " is not null AND " + IWorkspaceBuildLogDAO.Id + " <> ''");
      return this;
    }

    public Criteria andIdIsEmpty() {
      addCriterion(
          "(" + IWorkspaceBuildLogDAO.Id + " is null OR " + IWorkspaceBuildLogDAO.Id + " = '')");
      return this;
    }

    public Criteria andIdEqualTo(long value) {
      return andIdEqualTo(Long.valueOf(value));
    }

    public Criteria andIdEqualTo(java.lang.Long value) {

      addCriterion(IWorkspaceBuildLogDAO.Id + " = ", value, "id");
      return this;
    }

    public Criteria andIdEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.Id);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Id + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdNotEqualTo(long value) {
      return andIdNotEqualTo(Long.valueOf(value));
    }

    public Criteria andIdNotEqualTo(java.lang.Long value) {

      addCriterion(IWorkspaceBuildLogDAO.Id + " <>", value, "id");
      return this;
    }

    public Criteria andIdNotEqualToOrIsNull(long value) {
      return andIdNotEqualToOrIsNull(Long.valueOf(value));
    }

    public Criteria andIdNotEqualToOrIsNull(java.lang.Long value) {

      addCriterion(
          IWorkspaceBuildLogDAO.Id + " is null OR " + IWorkspaceBuildLogDAO.Id + " <>",
          value,
          "id");
      return this;
    }

    public Criteria andIdNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.Id);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdNotEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Id + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdGreaterThan(long value) {
      return andIdGreaterThan(Long.valueOf(value));
    }

    public Criteria andIdGreaterThan(java.lang.Long value) {

      addCriterion(IWorkspaceBuildLogDAO.Id + " >", value, "id");
      return this;
    }

    public Criteria andIdGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.Id);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdGreaterThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Id + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdGreaterThanOrEqualTo(long value) {
      return andIdGreaterThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andIdGreaterThanOrEqualTo(java.lang.Long value) {

      addCriterion(IWorkspaceBuildLogDAO.Id + " >=", value, "id");
      return this;
    }

    public Criteria andIdGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.Id);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Id + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdLessThan(long value) {
      return andIdLessThan(Long.valueOf(value));
    }

    public Criteria andIdLessThan(java.lang.Long value) {

      addCriterion(IWorkspaceBuildLogDAO.Id + " <", value, "id");
      return this;
    }

    public Criteria andIdLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.Id);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Id + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdLessThanOrEqualTo(long value) {
      return andIdLessThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andIdLessThanOrEqualTo(java.lang.Long value) {

      addCriterion(IWorkspaceBuildLogDAO.Id + " <=", value, "id");
      return this;
    }

    public Criteria andIdLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.Id);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Id + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdIn(long[] values) {
      if (values.length == 1) {
        return andIdEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IWorkspaceBuildLogDAO.Id + " in", values, "id");
        return this;
      }
    }

    public Criteria andIdNotIn(long[] values) {
      if (values.length == 1) {
        return andIdNotEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IWorkspaceBuildLogDAO.Id + " not in", values, "id");
        return this;
      }
    }

    public Criteria andIdIn(List<java.lang.Long> values) {

      if (values.size() == 1) {
        return andIdEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceBuildLogDAO.Id + " in", values, "id");
        return this;
      }
    }

    public Criteria andIdNotIn(List<java.lang.Long> values) {
      if (values.size() == 1) {
        return andIdNotEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceBuildLogDAO.Id + " not in", values, "id");
        return this;
      }
    }

    public Criteria andIdIn(java.lang.Long[] values) {

      if (values.length == 1) {
        return andIdEqualTo(values[0]);
      } else {
        addCriterion(IWorkspaceBuildLogDAO.Id + " in", Arrays.asList(values), "id");
        return this;
      }
    }

    public Criteria andIdNotIn(java.lang.Long[] values) {
      if (values.length == 1) {
        return andIdNotEqualTo(values[0]);
      } else {
        addCriterion(IWorkspaceBuildLogDAO.Id + " not in", Arrays.asList(values), "id");
        return this;
      }
    }

    public Criteria andIdIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Id + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Id + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdBetween(long value1, long value2) {
      addCriterion(IWorkspaceBuildLogDAO.Id + " between", value1, value2, "id");
      return this;
    }

    public Criteria andIdBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(IWorkspaceBuildLogDAO.Id + " between", value1, value2, "id");
      return this;
    }

    public Criteria andIdNotBetween(long value1, long value2) {
      addCriterion(IWorkspaceBuildLogDAO.Id + " not between", value1, value2, "id");
      return this;
    }

    public Criteria andIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(IWorkspaceBuildLogDAO.Id + " not between", value1, value2, "id");
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdIsNull() {
      addCriterion(IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " is null");
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdIsNotNull() {
      addCriterion(IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " is not null");
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdIsNotEmpty() {
      addCriterion(
          IWorkspaceBuildLogDAO.WorkspaceBuildConfigId
              + " is not null AND "
              + IWorkspaceBuildLogDAO.WorkspaceBuildConfigId
              + " <> ''");
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceBuildLogDAO.WorkspaceBuildConfigId
              + " is null OR "
              + IWorkspaceBuildLogDAO.WorkspaceBuildConfigId
              + " = '')");
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdEqualTo(long value) {
      return andWorkspaceBuildConfigIdEqualTo(Long.valueOf(value));
    }

    public Criteria andWorkspaceBuildConfigIdEqualTo(java.lang.Long value) {

      addCriterion(
          IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " = ", value, "workspaceBuildConfigId");
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.WorkspaceBuildConfigId);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdNotEqualTo(long value) {
      return andWorkspaceBuildConfigIdNotEqualTo(Long.valueOf(value));
    }

    public Criteria andWorkspaceBuildConfigIdNotEqualTo(java.lang.Long value) {

      addCriterion(
          IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " <>", value, "workspaceBuildConfigId");
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdNotEqualToOrIsNull(long value) {
      return andWorkspaceBuildConfigIdNotEqualToOrIsNull(Long.valueOf(value));
    }

    public Criteria andWorkspaceBuildConfigIdNotEqualToOrIsNull(java.lang.Long value) {

      addCriterion(
          IWorkspaceBuildLogDAO.WorkspaceBuildConfigId
              + " is null OR "
              + IWorkspaceBuildLogDAO.WorkspaceBuildConfigId
              + " <>",
          value,
          "workspaceBuildConfigId");
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.WorkspaceBuildConfigId);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdGreaterThan(long value) {
      return andWorkspaceBuildConfigIdGreaterThan(Long.valueOf(value));
    }

    public Criteria andWorkspaceBuildConfigIdGreaterThan(java.lang.Long value) {

      addCriterion(
          IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " >", value, "workspaceBuildConfigId");
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.WorkspaceBuildConfigId);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdGreaterThanOrEqualTo(long value) {
      return andWorkspaceBuildConfigIdGreaterThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andWorkspaceBuildConfigIdGreaterThanOrEqualTo(java.lang.Long value) {

      addCriterion(
          IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " >=", value, "workspaceBuildConfigId");
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.WorkspaceBuildConfigId);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdLessThan(long value) {
      return andWorkspaceBuildConfigIdLessThan(Long.valueOf(value));
    }

    public Criteria andWorkspaceBuildConfigIdLessThan(java.lang.Long value) {

      addCriterion(
          IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " <", value, "workspaceBuildConfigId");
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.WorkspaceBuildConfigId);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdLessThanOrEqualTo(long value) {
      return andWorkspaceBuildConfigIdLessThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andWorkspaceBuildConfigIdLessThanOrEqualTo(java.lang.Long value) {

      addCriterion(
          IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " <=", value, "workspaceBuildConfigId");
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.WorkspaceBuildConfigId);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdIn(long[] values) {
      if (values.length == 1) {
        return andWorkspaceBuildConfigIdEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(
            IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " in", values, "workspaceBuildConfigId");
        return this;
      }
    }

    public Criteria andWorkspaceBuildConfigIdNotIn(long[] values) {
      if (values.length == 1) {
        return andWorkspaceBuildConfigIdNotEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(
            IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " not in",
            values,
            "workspaceBuildConfigId");
        return this;
      }
    }

    public Criteria andWorkspaceBuildConfigIdIn(List<java.lang.Long> values) {

      if (values.size() == 1) {
        return andWorkspaceBuildConfigIdEqualTo(values.get(0));
      } else {
        addCriterion(
            IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " in", values, "workspaceBuildConfigId");
        return this;
      }
    }

    public Criteria andWorkspaceBuildConfigIdNotIn(List<java.lang.Long> values) {
      if (values.size() == 1) {
        return andWorkspaceBuildConfigIdNotEqualTo(values.get(0));
      } else {
        addCriterion(
            IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " not in",
            values,
            "workspaceBuildConfigId");
        return this;
      }
    }

    public Criteria andWorkspaceBuildConfigIdIn(java.lang.Long[] values) {

      if (values.length == 1) {
        return andWorkspaceBuildConfigIdEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " in",
            Arrays.asList(values),
            "workspaceBuildConfigId");
        return this;
      }
    }

    public Criteria andWorkspaceBuildConfigIdNotIn(java.lang.Long[] values) {
      if (values.length == 1) {
        return andWorkspaceBuildConfigIdNotEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " not in",
            Arrays.asList(values),
            "workspaceBuildConfigId");
        return this;
      }
    }

    public Criteria andWorkspaceBuildConfigIdIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdBetween(long value1, long value2) {
      addCriterion(
          IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " between",
          value1,
          value2,
          "workspaceBuildConfigId");
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(
          IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " between",
          value1,
          value2,
          "workspaceBuildConfigId");
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdNotBetween(long value1, long value2) {
      addCriterion(
          IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " not between",
          value1,
          value2,
          "workspaceBuildConfigId");
      return this;
    }

    public Criteria andWorkspaceBuildConfigIdNotBetween(
        java.lang.Long value1, java.lang.Long value2) {
      addCriterion(
          IWorkspaceBuildLogDAO.WorkspaceBuildConfigId + " not between",
          value1,
          value2,
          "workspaceBuildConfigId");
      return this;
    }

    public Criteria andBuildTimeIsNull() {
      addCriterion(IWorkspaceBuildLogDAO.BuildTime + " is null");
      return this;
    }

    public Criteria andBuildTimeIsNotNull() {
      addCriterion(IWorkspaceBuildLogDAO.BuildTime + " is not null");
      return this;
    }

    public Criteria andBuildTimeIsNotEmpty() {
      addCriterion(
          IWorkspaceBuildLogDAO.BuildTime
              + " is not null AND "
              + IWorkspaceBuildLogDAO.BuildTime
              + " <> ''");
      return this;
    }

    public Criteria andBuildTimeIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceBuildLogDAO.BuildTime
              + " is null OR "
              + IWorkspaceBuildLogDAO.BuildTime
              + " = '')");
      return this;
    }

    public Criteria andBuildTimeEqualTo(java.util.Date value) {

      addCriterionForJDBCDate(IWorkspaceBuildLogDAO.BuildTime + " = ", value, "buildTime");
      return this;
    }

    public Criteria andBuildTimeEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildTime);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildTimeEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildTime + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildTimeNotEqualTo(java.util.Date value) {

      addCriterionForJDBCDate(IWorkspaceBuildLogDAO.BuildTime + " <>", value, "buildTime");
      return this;
    }

    public Criteria andBuildTimeNotEqualToOrIsNull(java.util.Date value) {

      addCriterionForJDBCDate(
          IWorkspaceBuildLogDAO.BuildTime
              + " is null OR "
              + IWorkspaceBuildLogDAO.BuildTime
              + " <>",
          value,
          "buildTime");
      return this;
    }

    public Criteria andBuildTimeNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildTime);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildTimeNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildTime + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildTimeGreaterThan(java.util.Date value) {

      addCriterionForJDBCDate(IWorkspaceBuildLogDAO.BuildTime + " >", value, "buildTime");
      return this;
    }

    public Criteria andBuildTimeGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildTime);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildTimeGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildTime + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildTimeGreaterThanOrEqualTo(java.util.Date value) {

      addCriterionForJDBCDate(IWorkspaceBuildLogDAO.BuildTime + " >=", value, "buildTime");
      return this;
    }

    public Criteria andBuildTimeGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildTime);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildTimeGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildTime + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildTimeLessThan(java.util.Date value) {

      addCriterionForJDBCDate(IWorkspaceBuildLogDAO.BuildTime + " <", value, "buildTime");
      return this;
    }

    public Criteria andBuildTimeLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildTime);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildTimeLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildTime + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildTimeLessThanOrEqualTo(java.util.Date value) {

      addCriterionForJDBCDate(IWorkspaceBuildLogDAO.BuildTime + " <=", value, "buildTime");
      return this;
    }

    public Criteria andBuildTimeLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildTime);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildTimeLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildTime + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildTimeIn(List<java.util.Date> values) {

      if (values.size() == 1) {
        return andBuildTimeEqualTo(values.get(0));
      } else {
        addCriterionForJDBCDate(IWorkspaceBuildLogDAO.BuildTime + " in", values, "buildTime");
        return this;
      }
    }

    public Criteria andBuildTimeNotIn(List<java.util.Date> values) {
      if (values.size() == 1) {
        return andBuildTimeNotEqualTo(values.get(0));
      } else {
        addCriterionForJDBCDate(IWorkspaceBuildLogDAO.BuildTime + " not in", values, "buildTime");
        return this;
      }
    }

    public Criteria andBuildTimeIn(java.util.Date[] values) {

      if (values.length == 1) {
        return andBuildTimeEqualTo(values[0]);
      } else {
        addCriterionForJDBCDate(
            IWorkspaceBuildLogDAO.BuildTime + " in", Arrays.asList(values), "buildTime");
        return this;
      }
    }

    public Criteria andBuildTimeNotIn(java.util.Date[] values) {
      if (values.length == 1) {
        return andBuildTimeNotEqualTo(values[0]);
      } else {
        addCriterionForJDBCDate(
            IWorkspaceBuildLogDAO.BuildTime + " not in", Arrays.asList(values), "buildTime");
        return this;
      }
    }

    public Criteria andBuildTimeIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildTime + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildTimeNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildTime + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildTimeBetween(java.util.Date value1, java.util.Date value2) {
      addCriterionForJDBCDate(
          IWorkspaceBuildLogDAO.BuildTime + " between", value1, value2, "buildTime");
      return this;
    }

    public Criteria andBuildTimeNotBetween(java.util.Date value1, java.util.Date value2) {
      addCriterionForJDBCDate(
          IWorkspaceBuildLogDAO.BuildTime + " not between", value1, value2, "buildTime");
      return this;
    }

    public Criteria andBuildLogIsNull() {
      addCriterion(IWorkspaceBuildLogDAO.BuildLog + " is null");
      return this;
    }

    public Criteria andBuildLogIsNotNull() {
      addCriterion(IWorkspaceBuildLogDAO.BuildLog + " is not null");
      return this;
    }

    public Criteria andBuildLogIsNotEmpty() {
      addCriterion(
          IWorkspaceBuildLogDAO.BuildLog
              + " is not null AND "
              + IWorkspaceBuildLogDAO.BuildLog
              + " <> ''");
      return this;
    }

    public Criteria andBuildLogIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceBuildLogDAO.BuildLog
              + " is null OR "
              + IWorkspaceBuildLogDAO.BuildLog
              + " = '')");
      return this;
    }

    public Criteria andBuildLogEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.BuildLog + " = ", value, "buildLog");
      return this;
    }

    public Criteria andBuildLogEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildLog);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildLogEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildLog + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildLogNotEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.BuildLog + " <>", value, "buildLog");
      return this;
    }

    public Criteria andBuildLogNotEqualToOrIsNull(String value) {

      addCriterion(
          IWorkspaceBuildLogDAO.BuildLog + " is null OR " + IWorkspaceBuildLogDAO.BuildLog + " <>",
          value,
          "buildLog");
      return this;
    }

    public Criteria andBuildLogNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildLog);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildLogNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildLog + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildLogGreaterThan(String value) {

      addCriterion(IWorkspaceBuildLogDAO.BuildLog + " >", value, "buildLog");
      return this;
    }

    public Criteria andBuildLogGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildLog);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildLogGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildLog + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildLogGreaterThanOrEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.BuildLog + " >=", value, "buildLog");
      return this;
    }

    public Criteria andBuildLogGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildLog);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildLogGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildLog + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildLogLessThan(String value) {

      addCriterion(IWorkspaceBuildLogDAO.BuildLog + " <", value, "buildLog");
      return this;
    }

    public Criteria andBuildLogLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildLog);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildLogLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildLog + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildLogLessThanOrEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.BuildLog + " <=", value, "buildLog");
      return this;
    }

    public Criteria andBuildLogLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildLog);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildLogLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildLog + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildLogLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IWorkspaceBuildLogDAO.BuildLog + " like", buffer.toString(), "buildLog");
      return this;
    }

    public Criteria andBuildLogNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IWorkspaceBuildLogDAO.BuildLog + " not like", buffer.toString(), "buildLog");
      return this;
    }

    public Criteria andBuildLogIn(List<String> values) {

      if (values.size() == 1) {
        return andBuildLogEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceBuildLogDAO.BuildLog + " in", values, "buildLog");
        return this;
      }
    }

    public Criteria andBuildLogNotIn(List<String> values) {
      if (values.size() == 1) {
        return andBuildLogNotEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceBuildLogDAO.BuildLog + " not in", values, "buildLog");
        return this;
      }
    }

    public Criteria andBuildLogIn(String[] values) {

      if (values.length == 1) {
        return andBuildLogEqualTo(values[0]);
      } else {
        addCriterion(IWorkspaceBuildLogDAO.BuildLog + " in", Arrays.asList(values), "buildLog");
        return this;
      }
    }

    public Criteria andBuildLogNotIn(String[] values) {
      if (values.length == 1) {
        return andBuildLogNotEqualTo(values[0]);
      } else {
        addCriterion(IWorkspaceBuildLogDAO.BuildLog + " not in", Arrays.asList(values), "buildLog");
        return this;
      }
    }

    public Criteria andBuildLogIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildLog + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildLogNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildLog + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildLogBetween(String value1, String value2) {
      addCriterion(IWorkspaceBuildLogDAO.BuildLog + " between", value1, value2, "buildLog");
      return this;
    }

    public Criteria andBuildLogNotBetween(String value1, String value2) {
      addCriterion(IWorkspaceBuildLogDAO.BuildLog + " not between", value1, value2, "buildLog");
      return this;
    }

    public Criteria andBuildResultIsNull() {
      addCriterion(IWorkspaceBuildLogDAO.BuildResult + " is null");
      return this;
    }

    public Criteria andBuildResultIsNotNull() {
      addCriterion(IWorkspaceBuildLogDAO.BuildResult + " is not null");
      return this;
    }

    public Criteria andBuildResultIsNotEmpty() {
      addCriterion(
          IWorkspaceBuildLogDAO.BuildResult
              + " is not null AND "
              + IWorkspaceBuildLogDAO.BuildResult
              + " <> ''");
      return this;
    }

    public Criteria andBuildResultIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceBuildLogDAO.BuildResult
              + " is null OR "
              + IWorkspaceBuildLogDAO.BuildResult
              + " = '')");
      return this;
    }

    public Criteria andBuildResultEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.BuildResult + " = ", value, "buildResult");
      return this;
    }

    public Criteria andBuildResultEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildResult);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildResultEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildResult + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildResultNotEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.BuildResult + " <>", value, "buildResult");
      return this;
    }

    public Criteria andBuildResultNotEqualToOrIsNull(String value) {

      addCriterion(
          IWorkspaceBuildLogDAO.BuildResult
              + " is null OR "
              + IWorkspaceBuildLogDAO.BuildResult
              + " <>",
          value,
          "buildResult");
      return this;
    }

    public Criteria andBuildResultNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildResult);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildResultNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildResult + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildResultGreaterThan(String value) {

      addCriterion(IWorkspaceBuildLogDAO.BuildResult + " >", value, "buildResult");
      return this;
    }

    public Criteria andBuildResultGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildResult);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildResultGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildResult + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildResultGreaterThanOrEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.BuildResult + " >=", value, "buildResult");
      return this;
    }

    public Criteria andBuildResultGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildResult);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildResultGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildResult + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildResultLessThan(String value) {

      addCriterion(IWorkspaceBuildLogDAO.BuildResult + " <", value, "buildResult");
      return this;
    }

    public Criteria andBuildResultLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildResult);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildResultLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildResult + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildResultLessThanOrEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.BuildResult + " <=", value, "buildResult");
      return this;
    }

    public Criteria andBuildResultLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildResult);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildResultLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildResult + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildResultLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IWorkspaceBuildLogDAO.BuildResult + " like", buffer.toString(), "buildResult");
      return this;
    }

    public Criteria andBuildResultNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceBuildLogDAO.BuildResult + " not like", buffer.toString(), "buildResult");
      return this;
    }

    public Criteria andBuildResultIn(List<String> values) {

      if (values.size() == 1) {
        return andBuildResultEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceBuildLogDAO.BuildResult + " in", values, "buildResult");
        return this;
      }
    }

    public Criteria andBuildResultNotIn(List<String> values) {
      if (values.size() == 1) {
        return andBuildResultNotEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceBuildLogDAO.BuildResult + " not in", values, "buildResult");
        return this;
      }
    }

    public Criteria andBuildResultIn(String[] values) {

      if (values.length == 1) {
        return andBuildResultEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceBuildLogDAO.BuildResult + " in", Arrays.asList(values), "buildResult");
        return this;
      }
    }

    public Criteria andBuildResultNotIn(String[] values) {
      if (values.length == 1) {
        return andBuildResultNotEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceBuildLogDAO.BuildResult + " not in", Arrays.asList(values), "buildResult");
        return this;
      }
    }

    public Criteria andBuildResultIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildResult + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildResultNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildResult + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildResultBetween(String value1, String value2) {
      addCriterion(IWorkspaceBuildLogDAO.BuildResult + " between", value1, value2, "buildResult");
      return this;
    }

    public Criteria andBuildResultNotBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceBuildLogDAO.BuildResult + " not between", value1, value2, "buildResult");
      return this;
    }

    public Criteria andBuildOutputPathIsNull() {
      addCriterion(IWorkspaceBuildLogDAO.BuildOutputPath + " is null");
      return this;
    }

    public Criteria andBuildOutputPathIsNotNull() {
      addCriterion(IWorkspaceBuildLogDAO.BuildOutputPath + " is not null");
      return this;
    }

    public Criteria andBuildOutputPathIsNotEmpty() {
      addCriterion(
          IWorkspaceBuildLogDAO.BuildOutputPath
              + " is not null AND "
              + IWorkspaceBuildLogDAO.BuildOutputPath
              + " <> ''");
      return this;
    }

    public Criteria andBuildOutputPathIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceBuildLogDAO.BuildOutputPath
              + " is null OR "
              + IWorkspaceBuildLogDAO.BuildOutputPath
              + " = '')");
      return this;
    }

    public Criteria andBuildOutputPathEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.BuildOutputPath + " = ", value, "buildOutputPath");
      return this;
    }

    public Criteria andBuildOutputPathEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildOutputPath);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildOutputPathEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildOutputPath + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildOutputPathNotEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.BuildOutputPath + " <>", value, "buildOutputPath");
      return this;
    }

    public Criteria andBuildOutputPathNotEqualToOrIsNull(String value) {

      addCriterion(
          IWorkspaceBuildLogDAO.BuildOutputPath
              + " is null OR "
              + IWorkspaceBuildLogDAO.BuildOutputPath
              + " <>",
          value,
          "buildOutputPath");
      return this;
    }

    public Criteria andBuildOutputPathNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildOutputPath);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildOutputPathNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildOutputPath + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildOutputPathGreaterThan(String value) {

      addCriterion(IWorkspaceBuildLogDAO.BuildOutputPath + " >", value, "buildOutputPath");
      return this;
    }

    public Criteria andBuildOutputPathGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildOutputPath);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildOutputPathGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildOutputPath + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildOutputPathGreaterThanOrEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.BuildOutputPath + " >=", value, "buildOutputPath");
      return this;
    }

    public Criteria andBuildOutputPathGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildOutputPath);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildOutputPathGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildOutputPath + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildOutputPathLessThan(String value) {

      addCriterion(IWorkspaceBuildLogDAO.BuildOutputPath + " <", value, "buildOutputPath");
      return this;
    }

    public Criteria andBuildOutputPathLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildOutputPath);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildOutputPathLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildOutputPath + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildOutputPathLessThanOrEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.BuildOutputPath + " <=", value, "buildOutputPath");
      return this;
    }

    public Criteria andBuildOutputPathLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.BuildOutputPath);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andBuildOutputPathLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildOutputPath + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildOutputPathLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceBuildLogDAO.BuildOutputPath + " like", buffer.toString(), "buildOutputPath");
      return this;
    }

    public Criteria andBuildOutputPathNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceBuildLogDAO.BuildOutputPath + " not like",
          buffer.toString(),
          "buildOutputPath");
      return this;
    }

    public Criteria andBuildOutputPathIn(List<String> values) {

      if (values.size() == 1) {
        return andBuildOutputPathEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceBuildLogDAO.BuildOutputPath + " in", values, "buildOutputPath");
        return this;
      }
    }

    public Criteria andBuildOutputPathNotIn(List<String> values) {
      if (values.size() == 1) {
        return andBuildOutputPathNotEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceBuildLogDAO.BuildOutputPath + " not in", values, "buildOutputPath");
        return this;
      }
    }

    public Criteria andBuildOutputPathIn(String[] values) {

      if (values.length == 1) {
        return andBuildOutputPathEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceBuildLogDAO.BuildOutputPath + " in",
            Arrays.asList(values),
            "buildOutputPath");
        return this;
      }
    }

    public Criteria andBuildOutputPathNotIn(String[] values) {
      if (values.length == 1) {
        return andBuildOutputPathNotEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceBuildLogDAO.BuildOutputPath + " not in",
            Arrays.asList(values),
            "buildOutputPath");
        return this;
      }
    }

    public Criteria andBuildOutputPathIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildOutputPath + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildOutputPathNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.BuildOutputPath + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andBuildOutputPathBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceBuildLogDAO.BuildOutputPath + " between", value1, value2, "buildOutputPath");
      return this;
    }

    public Criteria andBuildOutputPathNotBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceBuildLogDAO.BuildOutputPath + " not between",
          value1,
          value2,
          "buildOutputPath");
      return this;
    }

    public Criteria andStatusIsNull() {
      addCriterion(IWorkspaceBuildLogDAO.Status + " is null");
      return this;
    }

    public Criteria andStatusIsNotNull() {
      addCriterion(IWorkspaceBuildLogDAO.Status + " is not null");
      return this;
    }

    public Criteria andStatusIsNotEmpty() {
      addCriterion(
          IWorkspaceBuildLogDAO.Status
              + " is not null AND "
              + IWorkspaceBuildLogDAO.Status
              + " <> ''");
      return this;
    }

    public Criteria andStatusIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceBuildLogDAO.Status
              + " is null OR "
              + IWorkspaceBuildLogDAO.Status
              + " = '')");
      return this;
    }

    public Criteria andStatusEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.Status + " = ", value, "status");
      return this;
    }

    public Criteria andStatusEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.Status);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Status + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusNotEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.Status + " <>", value, "status");
      return this;
    }

    public Criteria andStatusNotEqualToOrIsNull(String value) {

      addCriterion(
          IWorkspaceBuildLogDAO.Status + " is null OR " + IWorkspaceBuildLogDAO.Status + " <>",
          value,
          "status");
      return this;
    }

    public Criteria andStatusNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.Status);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Status + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusGreaterThan(String value) {

      addCriterion(IWorkspaceBuildLogDAO.Status + " >", value, "status");
      return this;
    }

    public Criteria andStatusGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.Status);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Status + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusGreaterThanOrEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.Status + " >=", value, "status");
      return this;
    }

    public Criteria andStatusGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.Status);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Status + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusLessThan(String value) {

      addCriterion(IWorkspaceBuildLogDAO.Status + " <", value, "status");
      return this;
    }

    public Criteria andStatusLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.Status);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Status + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusLessThanOrEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.Status + " <=", value, "status");
      return this;
    }

    public Criteria andStatusLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.Status);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Status + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IWorkspaceBuildLogDAO.Status + " like", buffer.toString(), "status");
      return this;
    }

    public Criteria andStatusNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IWorkspaceBuildLogDAO.Status + " not like", buffer.toString(), "status");
      return this;
    }

    public Criteria andStatusIn(List<String> values) {

      if (values.size() == 1) {
        return andStatusEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceBuildLogDAO.Status + " in", values, "status");
        return this;
      }
    }

    public Criteria andStatusNotIn(List<String> values) {
      if (values.size() == 1) {
        return andStatusNotEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceBuildLogDAO.Status + " not in", values, "status");
        return this;
      }
    }

    public Criteria andStatusIn(String[] values) {

      if (values.length == 1) {
        return andStatusEqualTo(values[0]);
      } else {
        addCriterion(IWorkspaceBuildLogDAO.Status + " in", Arrays.asList(values), "status");
        return this;
      }
    }

    public Criteria andStatusNotIn(String[] values) {
      if (values.length == 1) {
        return andStatusNotEqualTo(values[0]);
      } else {
        addCriterion(IWorkspaceBuildLogDAO.Status + " not in", Arrays.asList(values), "status");
        return this;
      }
    }

    public Criteria andStatusIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Status + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Status + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusBetween(String value1, String value2) {
      addCriterion(IWorkspaceBuildLogDAO.Status + " between", value1, value2, "status");
      return this;
    }

    public Criteria andStatusNotBetween(String value1, String value2) {
      addCriterion(IWorkspaceBuildLogDAO.Status + " not between", value1, value2, "status");
      return this;
    }

    public Criteria andRemarksIsNull() {
      addCriterion(IWorkspaceBuildLogDAO.Remarks + " is null");
      return this;
    }

    public Criteria andRemarksIsNotNull() {
      addCriterion(IWorkspaceBuildLogDAO.Remarks + " is not null");
      return this;
    }

    public Criteria andRemarksIsNotEmpty() {
      addCriterion(
          IWorkspaceBuildLogDAO.Remarks
              + " is not null AND "
              + IWorkspaceBuildLogDAO.Remarks
              + " <> ''");
      return this;
    }

    public Criteria andRemarksIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceBuildLogDAO.Remarks
              + " is null OR "
              + IWorkspaceBuildLogDAO.Remarks
              + " = '')");
      return this;
    }

    public Criteria andRemarksEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.Remarks + " = ", value, "remarks");
      return this;
    }

    public Criteria andRemarksEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.Remarks);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Remarks + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksNotEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.Remarks + " <>", value, "remarks");
      return this;
    }

    public Criteria andRemarksNotEqualToOrIsNull(String value) {

      addCriterion(
          IWorkspaceBuildLogDAO.Remarks + " is null OR " + IWorkspaceBuildLogDAO.Remarks + " <>",
          value,
          "remarks");
      return this;
    }

    public Criteria andRemarksNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.Remarks);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Remarks + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksGreaterThan(String value) {

      addCriterion(IWorkspaceBuildLogDAO.Remarks + " >", value, "remarks");
      return this;
    }

    public Criteria andRemarksGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.Remarks);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Remarks + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksGreaterThanOrEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.Remarks + " >=", value, "remarks");
      return this;
    }

    public Criteria andRemarksGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.Remarks);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Remarks + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksLessThan(String value) {

      addCriterion(IWorkspaceBuildLogDAO.Remarks + " <", value, "remarks");
      return this;
    }

    public Criteria andRemarksLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.Remarks);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Remarks + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksLessThanOrEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.Remarks + " <=", value, "remarks");
      return this;
    }

    public Criteria andRemarksLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.Remarks);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Remarks + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IWorkspaceBuildLogDAO.Remarks + " like", buffer.toString(), "remarks");
      return this;
    }

    public Criteria andRemarksNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IWorkspaceBuildLogDAO.Remarks + " not like", buffer.toString(), "remarks");
      return this;
    }

    public Criteria andRemarksIn(List<String> values) {

      if (values.size() == 1) {
        return andRemarksEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceBuildLogDAO.Remarks + " in", values, "remarks");
        return this;
      }
    }

    public Criteria andRemarksNotIn(List<String> values) {
      if (values.size() == 1) {
        return andRemarksNotEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceBuildLogDAO.Remarks + " not in", values, "remarks");
        return this;
      }
    }

    public Criteria andRemarksIn(String[] values) {

      if (values.length == 1) {
        return andRemarksEqualTo(values[0]);
      } else {
        addCriterion(IWorkspaceBuildLogDAO.Remarks + " in", Arrays.asList(values), "remarks");
        return this;
      }
    }

    public Criteria andRemarksNotIn(String[] values) {
      if (values.length == 1) {
        return andRemarksNotEqualTo(values[0]);
      } else {
        addCriterion(IWorkspaceBuildLogDAO.Remarks + " not in", Arrays.asList(values), "remarks");
        return this;
      }
    }

    public Criteria andRemarksIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Remarks + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.Remarks + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksBetween(String value1, String value2) {
      addCriterion(IWorkspaceBuildLogDAO.Remarks + " between", value1, value2, "remarks");
      return this;
    }

    public Criteria andRemarksNotBetween(String value1, String value2) {
      addCriterion(IWorkspaceBuildLogDAO.Remarks + " not between", value1, value2, "remarks");
      return this;
    }

    public Criteria andProductionNameIsNull() {
      addCriterion(IWorkspaceBuildLogDAO.ProductionName + " is null");
      return this;
    }

    public Criteria andProductionNameIsNotNull() {
      addCriterion(IWorkspaceBuildLogDAO.ProductionName + " is not null");
      return this;
    }

    public Criteria andProductionNameIsNotEmpty() {
      addCriterion(
          IWorkspaceBuildLogDAO.ProductionName
              + " is not null AND "
              + IWorkspaceBuildLogDAO.ProductionName
              + " <> ''");
      return this;
    }

    public Criteria andProductionNameIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceBuildLogDAO.ProductionName
              + " is null OR "
              + IWorkspaceBuildLogDAO.ProductionName
              + " = '')");
      return this;
    }

    public Criteria andProductionNameEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.ProductionName + " = ", value, "productionName");
      return this;
    }

    public Criteria andProductionNameEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.ProductionName);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andProductionNameEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.ProductionName + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andProductionNameNotEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.ProductionName + " <>", value, "productionName");
      return this;
    }

    public Criteria andProductionNameNotEqualToOrIsNull(String value) {

      addCriterion(
          IWorkspaceBuildLogDAO.ProductionName
              + " is null OR "
              + IWorkspaceBuildLogDAO.ProductionName
              + " <>",
          value,
          "productionName");
      return this;
    }

    public Criteria andProductionNameNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.ProductionName);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andProductionNameNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.ProductionName + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andProductionNameGreaterThan(String value) {

      addCriterion(IWorkspaceBuildLogDAO.ProductionName + " >", value, "productionName");
      return this;
    }

    public Criteria andProductionNameGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.ProductionName);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andProductionNameGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.ProductionName + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andProductionNameGreaterThanOrEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.ProductionName + " >=", value, "productionName");
      return this;
    }

    public Criteria andProductionNameGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.ProductionName);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andProductionNameGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.ProductionName + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andProductionNameLessThan(String value) {

      addCriterion(IWorkspaceBuildLogDAO.ProductionName + " <", value, "productionName");
      return this;
    }

    public Criteria andProductionNameLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.ProductionName);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andProductionNameLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.ProductionName + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andProductionNameLessThanOrEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.ProductionName + " <=", value, "productionName");
      return this;
    }

    public Criteria andProductionNameLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.ProductionName);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andProductionNameLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.ProductionName + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andProductionNameLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceBuildLogDAO.ProductionName + " like", buffer.toString(), "productionName");
      return this;
    }

    public Criteria andProductionNameNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceBuildLogDAO.ProductionName + " not like", buffer.toString(), "productionName");
      return this;
    }

    public Criteria andProductionNameIn(List<String> values) {

      if (values.size() == 1) {
        return andProductionNameEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceBuildLogDAO.ProductionName + " in", values, "productionName");
        return this;
      }
    }

    public Criteria andProductionNameNotIn(List<String> values) {
      if (values.size() == 1) {
        return andProductionNameNotEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceBuildLogDAO.ProductionName + " not in", values, "productionName");
        return this;
      }
    }

    public Criteria andProductionNameIn(String[] values) {

      if (values.length == 1) {
        return andProductionNameEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceBuildLogDAO.ProductionName + " in", Arrays.asList(values), "productionName");
        return this;
      }
    }

    public Criteria andProductionNameNotIn(String[] values) {
      if (values.length == 1) {
        return andProductionNameNotEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceBuildLogDAO.ProductionName + " not in",
            Arrays.asList(values),
            "productionName");
        return this;
      }
    }

    public Criteria andProductionNameIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.ProductionName + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andProductionNameNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.ProductionName + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andProductionNameBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceBuildLogDAO.ProductionName + " between", value1, value2, "productionName");
      return this;
    }

    public Criteria andProductionNameNotBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceBuildLogDAO.ProductionName + " not between", value1, value2, "productionName");
      return this;
    }

    public Criteria andProductionTypeIsNull() {
      addCriterion(IWorkspaceBuildLogDAO.ProductionType + " is null");
      return this;
    }

    public Criteria andProductionTypeIsNotNull() {
      addCriterion(IWorkspaceBuildLogDAO.ProductionType + " is not null");
      return this;
    }

    public Criteria andProductionTypeIsNotEmpty() {
      addCriterion(
          IWorkspaceBuildLogDAO.ProductionType
              + " is not null AND "
              + IWorkspaceBuildLogDAO.ProductionType
              + " <> ''");
      return this;
    }

    public Criteria andProductionTypeIsEmpty() {
      addCriterion(
          "("
              + IWorkspaceBuildLogDAO.ProductionType
              + " is null OR "
              + IWorkspaceBuildLogDAO.ProductionType
              + " = '')");
      return this;
    }

    public Criteria andProductionTypeEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.ProductionType + " = ", value, "productionType");
      return this;
    }

    public Criteria andProductionTypeEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.ProductionType);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andProductionTypeEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.ProductionType + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andProductionTypeNotEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.ProductionType + " <>", value, "productionType");
      return this;
    }

    public Criteria andProductionTypeNotEqualToOrIsNull(String value) {

      addCriterion(
          IWorkspaceBuildLogDAO.ProductionType
              + " is null OR "
              + IWorkspaceBuildLogDAO.ProductionType
              + " <>",
          value,
          "productionType");
      return this;
    }

    public Criteria andProductionTypeNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.ProductionType);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andProductionTypeNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.ProductionType + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andProductionTypeGreaterThan(String value) {

      addCriterion(IWorkspaceBuildLogDAO.ProductionType + " >", value, "productionType");
      return this;
    }

    public Criteria andProductionTypeGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.ProductionType);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andProductionTypeGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.ProductionType + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andProductionTypeGreaterThanOrEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.ProductionType + " >=", value, "productionType");
      return this;
    }

    public Criteria andProductionTypeGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.ProductionType);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andProductionTypeGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.ProductionType + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andProductionTypeLessThan(String value) {

      addCriterion(IWorkspaceBuildLogDAO.ProductionType + " <", value, "productionType");
      return this;
    }

    public Criteria andProductionTypeLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.ProductionType);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andProductionTypeLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.ProductionType + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andProductionTypeLessThanOrEqualTo(String value) {

      addCriterion(IWorkspaceBuildLogDAO.ProductionType + " <=", value, "productionType");
      return this;
    }

    public Criteria andProductionTypeLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IWorkspaceBuildLogDAO.ProductionType);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andProductionTypeLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.ProductionType + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andProductionTypeLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceBuildLogDAO.ProductionType + " like", buffer.toString(), "productionType");
      return this;
    }

    public Criteria andProductionTypeNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IWorkspaceBuildLogDAO.ProductionType + " not like", buffer.toString(), "productionType");
      return this;
    }

    public Criteria andProductionTypeIn(List<String> values) {

      if (values.size() == 1) {
        return andProductionTypeEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceBuildLogDAO.ProductionType + " in", values, "productionType");
        return this;
      }
    }

    public Criteria andProductionTypeNotIn(List<String> values) {
      if (values.size() == 1) {
        return andProductionTypeNotEqualTo(values.get(0));
      } else {
        addCriterion(IWorkspaceBuildLogDAO.ProductionType + " not in", values, "productionType");
        return this;
      }
    }

    public Criteria andProductionTypeIn(String[] values) {

      if (values.length == 1) {
        return andProductionTypeEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceBuildLogDAO.ProductionType + " in", Arrays.asList(values), "productionType");
        return this;
      }
    }

    public Criteria andProductionTypeNotIn(String[] values) {
      if (values.length == 1) {
        return andProductionTypeNotEqualTo(values[0]);
      } else {
        addCriterion(
            IWorkspaceBuildLogDAO.ProductionType + " not in",
            Arrays.asList(values),
            "productionType");
        return this;
      }
    }

    public Criteria andProductionTypeIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.ProductionType + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andProductionTypeNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IWorkspaceBuildLogDAO.ProductionType + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andProductionTypeBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceBuildLogDAO.ProductionType + " between", value1, value2, "productionType");
      return this;
    }

    public Criteria andProductionTypeNotBetween(String value1, String value2) {
      addCriterion(
          IWorkspaceBuildLogDAO.ProductionType + " not between", value1, value2, "productionType");
      return this;
    }
  }
}
